import serial
import struct
import cauto
from multiprocessing import Pool
import math
import time
ser = serial.Serial('COM5', 115200)
ser.write(struct.pack('iffifi',0,-100,0,0,0,0))
# ser.write(struct.pack('iffifi',5,0,0,0,0,0))
# print(ser.read(24))
# time.sleep(5)
# ser.write(struct.pack('iffifi',0,0,0,0,0,0))
# time.sleep(1)
# ser.write(struct.pack('iffifi',0,0,2,0,0,0))
# print(123.7*632.8/(2*0.21))